package com.remote.facilities;

/**
 * @author SnowmanAndBee
 * @version <version>
 * <description>
 * @date 2022/4/5 - 11:26
 */
public class Light {
    private String name;

    public Light() {

    }

    public Light(String name) {
        this.name = name;
    }

    public void on() {
        System.out.println(name + " light is on.");
    }

    public void off() {
        System.out.println(name + " light is off.");
    }
}
